package com.zelix;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.DefaultListModel;
import javax.swing.JList;

final class u extends MouseAdapter
{

    private final h2 a;

    u(h2 h2_1)
    {
        a = h2_1;
    }

    public void mouseClicked(MouseEvent mouseevent)
    {
        if(mouseevent.getClickCount() == 2)
        {
            int i = a.B.locationToIndex(mouseevent.getPoint());
            if(i > -1)
            {
                cz cz1 = (cz)h2.a(a).getElementAt(i);
                if(!cz1.b())
                    a.o();
            }
        }
    }
}